package com.glq1218.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author glq1218
 * @description TODO
 * @since 2023/4/10 10:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PaginationResult<T> {
    /**
     * 总数
     */
    private Long total;
    /**
     * 数据
     */
    private List<T> records;
}
